package com.alibaba.luohua.product.entity;

import com.alibaba.luohua.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 物品库存表
 *
 * @author luohua
 * @date 2022年3月15日14:34:18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("article_stock")
public class ArticleStock extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long articleId;

    private Long companyId;

    private Long consumerId;

    private Integer consumerType;

    private BigDecimal stockNumber;

    private Long createdId;

    private Date createdTime;

    private Long updatedId;

    private Date updatedTime;

}